package com.seanchenxi.gwt.wordpress.xmlrpc.service;

import com.seanchenxi.gwt.wordpress.xmlrpc.service.impl.WordPressServiceAsyncImpl;
import com.seanchenxi.gwt.wordpress.xmlrpc.service.local.impl.WordPressLocalServiceAsyncImpl;

public class XmlRpcServiceBuilder {

	public static WordPressServiceAsync buildWordPressServiceAsync(
			String xmlRpcURL) {
		return new WordPressServiceAsyncImpl(xmlRpcURL);
	}

	public static WordPressLocalServiceAsync buildWordPressLocalServiceAsync(
			String xmlRpcURL, String WpUserName, String WpPassword) {
		return new WordPressLocalServiceAsyncImpl(xmlRpcURL, WpUserName,
				WpPassword);
	}
}
